package com.lby.the_ioc_container.bean;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * @author : Leibuyun
 * @time : 2021/12/02 12:38
 * @mail : 508222866@qq.com
 */

public class PropertyDemo {

    private Integer integer;

    private String string;

    private List<Double> doubleList;

    private Set<String> stringSet;

    private Map<String, Integer> map;

    public void setInteger(Integer integer) {
        this.integer = integer;
    }

    public void setString(String string) {
        this.string = string;
    }

    public void setDoubleList(List<Double> doubleList) {
        this.doubleList = doubleList;
    }

    public void setStringSet(Set<String> stringSet) {
        this.stringSet = stringSet;
    }

    public void setMap(Map<String, Integer> map) {
        this.map = map;
    }

    @Override
    public String toString() {
        return "PropertyDemo{" +
                "integer=" + integer +
                ", string='" + string + '\'' +
                ", doubleList=" + doubleList +
                ", stringSet=" + stringSet +
                ", map=" + map +
                '}';
    }
}
